package com.terrynoya.fight.animations
{
	import com.terrynoya.geom.MVector2D;

	public class AnimationElement implements IAnimationElement
	{
		private var _groupId:SpriteId;
		private var _id:int;
		private var _ticks:int;
		private var _offset:MVector2D;
		private var _clsns:Array;
		private var _startTick:int;
		
		public function AnimationElement()
		{
			this._clsns = new Array();
		}

		public function get startTick():int
		{
			return _startTick;
		}

		public function set startTick(value:int):void
		{
			_startTick = value;
		}

		public function get offset():MVector2D
		{
			return _offset;
		}

		public function set offset(value:MVector2D):void
		{
			_offset = value;
		}

		public function get clsns():Array
		{
			return _clsns;
		}

		public function set clsns(value:Array):void
		{
			_clsns = value;
		}

		public function get id():int
		{
			return _id;
		}

		public function set id(value:int):void
		{
			_id = value;
		}

		public function get ticks():int
		{
			return _ticks;
		}

		public function set ticks(value:int):void
		{
			_ticks = value;
		}

		public function get spriteId():SpriteId
		{
			return _groupId;
		}

		public function set spriteId(value:SpriteId):void
		{
			_groupId = value;
		}

	}
}